package sg.edu.nus.iss.team4ft.util;

import java.awt.Color;

import sg.edu.nus.iss.team4ft.service.User;

public class AppConstant {
	//User Roles
	public static User USER = null;
	public static final String ADMIN = "1";
	public static final String AGENT = "2";
	
	//Data Files
	public static final String FILE_ACCOUNTS = "data\\tests.txt";
	public static final String FILE_RATE = "data\\rates.txt";
	public static final String FILE_CMPLNTS = "data\\complaints.txt";
	public static final String FILE_TRSCTN = "data\\call_txn_data.txt"; 
	public static final String FILE_USER_INFO = "data\\user_info.txt";
	public static final String FILE_DELIMITER = "\\|";
	public static final String FILE_PIPE_DELIMITER = "|";
	public static final String FILE_BILLS_OBJ = "data\\";
	public static final String FILE_PAYMENT = "data\\payment.txt";
	public static final String FILE_TEL_NUM = "data\\TelephoneNumber.txt";
	public static final String CUSTOMER_ACCOUNT_FILE_NAME= "data\\CustomerAccount.txt";
	
	//Bill Report indentation
	public static final String BILL_CO_ADD_INDENT = "\t\t\t\t\t\t\t\t\t";
	public static final String BILL_ACC_CTR_INDENT = "\t\t\t\t";
	public static final String BILL_PAGE_NO_INDENT = "\t\t\t\t\t\t\t\t\t\t";
	public static final String BILL_AMT_HEADER_INDENT = "\t\t\t\t\t\t\t";
	public static final String BILL_AMT_INDENT = "\t\t\t\t\t\t";
	public static final String BILL_TTL_INDENT = "\t\t\t\t\t\t\t\t\t";
	
	//Bill Paging
	public static final String BILL_PG1 = "Page 1 of 2";
	public static final String BILL_PG2 = "Page 2 of 2";
	
	//Company Address Details
	public static final String CO_NAME = "One# Pte Ltd";
	public static final String CO_NAME_SHORT = "One#";
	public static final String CO_ADD_LINE_1 = "41 Uni Lane";
	public static final String CO_ADD_LINE_2 = "#02-003";
	public static final String CO_CTRY = "Singapore";
	public static final String CO_PSTL_CD = "654092";
	public static final String CO_TEL = "1654";
	public static final String CO_EMAIL = "customer@onehash.com";
	
	//Bill Summary
	public static final String SUMM_SUBTITLE = 	"At a Glance";
	public static final String SUMM_PREV_BAL = 	"Previous Balance.......................................................";
	public static final String SUMM_PAYMENT = 	"Payments...............................................................";
	public static final String SUMM_CURR_CHRG = "Current Charges dues on %s....................................";
	public static final String SUMM_PLS_PAY = 	"Please pay.............................................................";
	
	//Bill Details
	public static final String DTL_AMT = "Amount (S$)";
	public static final String DTL_TTL = "Total (S$)";
	
	public static final String PG2_SUMM_PAYMT_DTL = "Summary - Payment Details";
	public static final String PG2_PAYMT_RCV = "Payment Recieved";
	public static final String PG2_SUMM_CURR_CHRG = "Summary Current Charges";
	public static final String PG2_TTL_GST = "Total GST";
	public static final String PG2_TTL_CURR_CHRG = "Total Current Charges";
	public static final String PG2_USG_CHRG="Usage Charges";
	public static final String PG2_TTL_CURR_CHRGS = "Total Current Charges";
	
	
	//Account Details
	public static final String PG2_ACC_DETAILS = "-------------------------------------------------------------Account Details------------------------------------------------------------";
	public static final String PG2_ACC_SUB_CHRG = "Subscription Charge";
	
	//Bill Parameters
	public static final int CREDIT_TERMS = 30;
	public static final double GST = 0.07;
	
	//Account System Constants	
	public static final String DIGITAL_VOICE_PLAN = "Digital Voice";	
	public static final String MOBILE_VOICE_PLAN = "Mobile Voice";	
	public static final String CABLE_TV_FEATURE = "Cable Tv";
	
	public static final String LOCAL_CALL_FEATURE = "Local Call";
	public static final String INTERNATIONAL_CALL_FEATURE = "International Call";
	public static final String ROAMING_CALL_FEATURE = "Roaming Call";
	public static final String CALL_TRANSFER_FEATURE = "Call Transfer";
	public static final String DATA_SERVICE_FEATURE = "Data Service";
	public static final String CHANNEL_FEATURE = "Channel Service";
	public static final String CHANNEL_CHARGE = "ADD.Channel Charges";
	public static final String Number="Number";
	public static final String AMOUNT="Amount(S$)";
	public static final String TOTAL="Total(S$)";
	public static final String LINE_SUB="Line";
	public static final String FTR_CALL_TRANSFER="Call Transfer";
	public static final String FTR_LOCAL_CALLS="Local Calls";
	public static final String FTR_IDD="IDD Calls";
	public static final String MOBILE_SUB="Mobile";
	public static final String FTR_ROAMING="Roaming Calls";
	public static final String FTR_DS="Data Services";
	public static String LABEL_TEMP=null;
	

	public static final String[] CHANNEL_NAMES = {"CHANNEL1","CHANNEL2","CHANNEL3","CHANNEL4","CHANNEL5"};
	public static final String[] DEFAULT_CHANNEL_NAMES = {"CHANNEL1","CHANNEL2","CHANNEL3"};

	public static final String DEACTIVATE = "Deactivated on ";
	public static final String ACTIVATE = "Activated on ";
	public static final String FROM = "from";
	public static final String ERROR_TERMINATION = "Deactivated date cannot be before activation date.";
	public static final String ERROR_INVALID_DATE = "Invalid Date";
	public static final String DD = "dd";
	public static final String MM = "mm";
	public static final String YYYY = "yyyy";
	public static final String CONFIRM_PROCEED = "Do you wish to proceed?";
	public static final String CONFIRM_FILE_EXIST = "Billing File Exists for %s. Do you wish to proceed?";
	public static final String CONFIRM_TITLE = "Proceed?";
	
	//Messages
	public static final String ACTIVATION_DATE_MSG = "] cannot be before activation date [";
	public static final String DEACTIVATION_DATE_MSG = " deactivation date [";
	public static final String ACTIVATION_DATE_MSG_START = " activation date [";
	public static final String DEACTIVATION_DATE_MSG_START = " deactivation date [";
	public static final String BEFORE_MSG = "] cannot be before ";
	public static final String AFTER_MSG = "] cannot be after ";
	public static final String CURRENT_DATE_MSG = "] cannot be before current date!";
	
	//Error Message
	public static final String ERR_MSG = "There is an unknown error";
	public static final String ERROR = "An error has occured";
	public static final String BILL_ERR_ACC_NUM = "Invalid/Empty Account Number";
	public static final String BILL_ERR_ACC_NOT_FOUND = "Account not found in Billing File or Billing File was not generated";
	public static final String BILL_ERR_BILL_GEN = "Billing File Error";
	
	public static final Color BACKGROUND_COLOR = new Color(133,173,233);
	
}
